Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.14] Fix terrain estimator validity issue #22423

Merged
merged 2 commits into from
Nov 21, 2023
Merged

Conversation

bresch
Copy link
Member

@bresch bresch commented Nov 21, 2023

Solved Problem

fixes: #22357
The issues was caused by the reset function setting _time_last_healthy_rng_data to 0, leading to an immediate timeout at the next loop run.

Issue got introduces in #21338
and fixed in #22030

I also decided to pull #22117 to reduce the likelihood of hitting another corner care that we fixed recently on the range finder kinematic consistency check.

Verified in replay using https://review.px4.io/plot_app?log=76f8ab88-738c-4a14-a9f7-dd87dd617366
Before:
Screenshot from 2023-11-21 13-52-44

After:
Screenshot from 2023-11-21 13-52-35

bresch added 2 commits November 21, 2023 13:37
Bug not present after 1.14
Even if there is some horizontal motion, a passing check should be
accepted as the terrain can be flat. However, the vehicle must not be
moving horizontally to invalidate the consistency as a change in terrain
can make the kinematic check temporarily fail.
@dagar dagar merged commit 26109a2 into release/1.14 Nov 21, 2023
5 checks passed
@dagar dagar deleted the pr-ekf2-rng-kin-1_14 branch November 21, 2023 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants